package xyz.zhouxf.rpc;

import xyz.zhouxf.rpc.annotation.ServiceScan;
import xyz.zhouxf.rpc.transport.RpcServer;
import xyz.zhouxf.rpc.transport.netty.server.NettyServer;

/**
 * @author zhouxf
 * @date 2022/10/6
 */
@ServiceScan
public class TestServer {
    public static void main(String[] args) {
        RpcServer rpcServer = new NettyServer("127.0.0.1", 8080);
        rpcServer.start();
    }
}
